---
title: "copy to clipboard · RUAL Documentation"
description: "Copies the given text to the users clipboard"
canonical: https://docs.rual.nl/block-types/state actions/state_copy_to_clipboard
language: en
---

# copy to clipboard

This block is part of the [`state actions`](https://docs.rual.nl/block-types/state%20actions) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Copies the given text to the users clipboard

- flow `flow`

- text required `value` The text to be copied to clipboard

- flow `flow`

A typical wiring for [copy to clipboard](https://docs.rual.nl/block-types/state%20actions/state_copy_to_clipboard): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `text` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the copy to clipboard block: typical wiring for copy to clipboard.](https://docs.rual.nl/canvas-examples/state_copy_to_clipboard.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
